<template>
  <div style="height: 100%;width: 100%">
    <t-row>
      <t-col :span="10"></t-col>
      <t-col style="text-align: right" :span="2">单位：万元</t-col>
    </t-row>
    <t-table  v-if="editOpen" rowKey="index"
              :headerAffixedTop="{ offsetTop: offsetTop, container: getContainer }" bordered :data="data" :columns="columns">
      <template #subject="{ row,rowIndex }">
        <div v-if="[0,6].includes(rowIndex)" style="display: flex;justify-content: flex-start">
          {{ row.subject }}
        </div>
        <div v-else-if="[7,22].includes(rowIndex)"
             style="display: flex;justify-content: flex-start;margin-left: 16px">
          {{ row.subject }}
        </div>
        <div v-else-if="[1,2,8,12,13,14,15,16,17,18,19,20,21,23,24].includes(rowIndex)"
             style="display: flex;justify-content: flex-start;align-items: center;margin-left: 28px">
          {{ row.subject }}
          <t-tooltip v-if="[12,13,14,15,16,17,18,19,20,21,23,24].includes(rowIndex) && site_tag==='jt'"  content="建议填写经费范围为1-2">
            <t-icon name="help-circle-filled"></t-icon>
          </t-tooltip>
        </div>
        <div v-else-if="[9,10,11].includes(rowIndex)"
             style="display: flex;justify-content: flex-start;align-items: center;margin-left: 40px">
          {{ row.subject }}<t-tooltip v-if="site_tag==='jt'"  content="建议填写经费范围为1-2">
          <t-icon name="help-circle-filled"></t-icon>
        </t-tooltip>
        </div>
        <div v-else-if="[3].includes(rowIndex)"
             style="display: flex;justify-content: flex-start;margin-left: 50px">
          {{ row.subject }}
        </div>
        <div v-else-if="[4,5].includes(rowIndex)"
             style="display: flex;justify-content: flex-start;margin-left: 92px">
          {{ row.subject }}<t-tooltip v-if="site_tag==='jt'" content="建议填写经费范围为1-2">
          <t-icon name="help-circle-filled"></t-icon>
        </t-tooltip>
        </div>

      </template>
      <template #hj="{ rowIndex }">
        <div v-if="[0].includes(rowIndex)">
          <div :style="{color:(Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
                Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100) !==  Number(formData.inTbBudget || 0)+ Number(formData.inZcBudget || 0)?'red':''}">{{
              Number(formData.inTbBudget || 0)+ Number(formData.inZcBudget || 0)
            }}
          </div>

        </div>
        <div v-if="[1].includes(rowIndex)">
          {{
            Number(formData.inTbBudget || 0)
          }}
          <!--          {{ formData.inTbBudget  || 0 }} -->
        </div>
        <div v-if="[2].includes(rowIndex)">
          {{
            Number(formData.inZcBudget || 0)
          }}
        </div>
        <div v-if="[3].includes(rowIndex)">
          {{ formData.inZcQtczbkBudget || 0 }}
        </div>
        <div v-if="[4].includes(rowIndex)">
          {{ formData.inZcDwBudget || 0 }}
        </div>
        <div v-if="[5].includes(rowIndex)">
          {{ formData.inZcQtBudget || 0 }}
        </div>
        <div v-if="[6].includes(rowIndex)">
          <div :style="{color:(Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
                Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100) !==Number(formData.inTbBudget || 0)+ Number(formData.inZcBudget || 0)?'red':''}"> {{
              Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
                Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100
            }}
          </div>

        </div>
        <div v-if="[7].includes(rowIndex)">
          {{
            Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100          }}
        </div>
        <div v-if="[8].includes(rowIndex)">
          {{
            Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100          }}
        </div>
        <div v-if="[9].includes(rowIndex)">
          {{ Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100))/100 }}
        </div>
        <div v-if="[10].includes(rowIndex)">
          {{ Number((Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100))/100 }}
        </div>
        <div v-if="[11].includes(rowIndex)">
          {{ Number((Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100 }}
        </div>
        <div v-if="[12].includes(rowIndex)">
          {{ Number((Number(formData.outTbClBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100))/100 }}
        </div>
        <div v-if="[13].includes(rowIndex)">
          {{ Number((Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100))/100 }}
        </div>
        <div v-if="[14].includes(rowIndex)">
          {{ Number((Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100))/100 }}
        </div>
        <div v-if="[15].includes(rowIndex)">
          {{ Number((Number(formData.outTbClvBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100))/100 }}
        </div>
        <div v-if="[16].includes(rowIndex)">
          {{ Number((Number(formData.outTbHyBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100))/100 }}
        </div>
        <div v-if="[17].includes(rowIndex)">
          {{ Number((Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100))/100 }}
        </div>
        <div v-if="[18].includes(rowIndex)">
          {{ Number((Number(formData.outTbCbBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100))/100 }}
        </div>
        <div v-if="[19].includes(rowIndex)">
          {{ Number((Number(formData.outTbLwBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100))/100 }}
        </div>
        <div v-if="[20].includes(rowIndex)">
          {{ Number((Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100))/100 }}
        </div>
        <div v-if="[21].includes(rowIndex)">
          {{ Number((Number(formData.outTbQtBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100 }}
        </div>
        <div v-if="[22].includes(rowIndex)">
          {{
            Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100
          }}
        </div>
        <div v-if="[23].includes(rowIndex)">
          {{ Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100))/100 }}
        </div>
        <div v-if="[24].includes(rowIndex)">
          {{ Number((Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100 }}
        </div>
      </template>
      <template #tb="{ rowIndex }">
        <div v-if="[0].includes(rowIndex)">
          <div :style="{color: (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
                Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100) !==(Number(formData.inTbBudget  || 0) )?'red':''}">
            {{
              Number(formData.inTbBudget || 0)
            }}
          </div>

        </div>
        <div v-if="[1].includes(rowIndex)">
          <t-input-number :decimal-places="2"   :allowInputOverLimit="false"  style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.inTbBudget"></t-input-number>
           <!--  Number(formData.inTbBudget || 0) -->
        </div>
        <div v-if="[2,3,4,5].includes(rowIndex)">
          0
        </div>
        <div v-if="[6].includes(rowIndex)">
          <div :style="{color: (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
                Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100) !==(Number(formData.inTbBudget  || 0) )?'red':''}">
            {{
              Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
                Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100
            }}
          </div>
        </div>
        <div v-if="[7].includes(rowIndex)">
          {{
            Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100))/100          }}
        </div>
        <div v-if="[8].includes(rowIndex)">
          {{
            Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100))/100
          }}
        </div>
        <div v-if="[9].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbSbBudget){formData.outTbSbBudget=Number((formData.outTbSbBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbSbBudget"></t-input-number>
        </div>
        <div v-if="[10].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbSzsbBudget){formData.outTbSzsbBudget=Number((formData.outTbSzsbBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbSzsbBudget"></t-input-number>
        </div>
        <div v-if="[11].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbSbzzBudget){formData.outTbSbzzBudget=Number((formData.outTbSbzzBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbSbzzBudget"></t-input-number>
        </div>
        <div v-if="[12].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbClBudget){formData.outTbClBudget=Number((formData.outTbClBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbClBudget"></t-input-number>
        </div>
        <div v-if="[13].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbSyjgBudget){formData.outTbSyjgBudget=Number((formData.outTbSyjgBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbSyjgBudget"></t-input-number>
        </div>
        <div v-if="[14].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbRldlBudget){formData.outTbRldlBudget=Number((formData.outTbRldlBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbRldlBudget"></t-input-number>
        </div>
        <div v-if="[15].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbClvBudget){formData.outTbClvBudget=Number((formData.outTbClvBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbClvBudget"></t-input-number>
        </div>
        <div v-if="[16].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbHyBudget){formData.outTbHyBudget=Number((formData.outTbHyBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbHyBudget"></t-input-number>
        </div>
        <div v-if="[17].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbGjhzBudget){formData.outTbGjhzBudget=Number((formData.outTbGjhzBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbGjhzBudget"></t-input-number>
        </div>
        <div v-if="[18].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbCbBudget){formData.outTbCbBudget=Number((formData.outTbCbBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" style="width: 100%" theme="normal" clearable :min="0"
                          v-model="formData.outTbCbBudget"></t-input-number>
        </div>
        <div v-if="[19].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbLwBudget){formData.outTbLwBudget=Number((formData.outTbLwBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbLwBudget"></t-input-number>
        </div>
        <div v-if="[20].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbZjzxBudget){formData.outTbZjzxBudget=Number((formData.outTbZjzxBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbZjzxBudget"></t-input-number>
        </div>
        <div v-if="[21].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbQtBudget){formData.outTbQtBudget=Number((formData.outTbQtBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbQtBudget"></t-input-number>
        </div>
        <div v-if="[22].includes(rowIndex)">
          {{ Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100 }}
        </div>
        <div v-if="[23].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbGlBudget){formData.outTbGlBudget=Number((formData.outTbGlBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbGlBudget"></t-input-number>
        </div>
        <div v-if="[24].includes(rowIndex)">
          <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outTbJxzcBudget){formData.outTbJxzcBudget=Number((formData.outTbJxzcBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.outTbJxzcBudget"></t-input-number>
        </div>
      </template>
      <template #zc="{ rowIndex }">
        <div v-if="[0].includes(rowIndex)">
          <div :style="{color: (Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100
)!==(Number(formData.inZcBudget  || 0) )?'red':''}">
            {{
              Number(formData.inZcBudget || 0)
            }}
          </div>
          <!--          {{-->
          <!--            Number(formData.inZcQtczbkBudget   || 0) + Number(formData.inZcDwBudget   || 0) + Number(formData.inZcQtBudget   || 0)-->
          <!--          }}-->
        </div>
        <div v-if="[1].includes(rowIndex)">
          0
        </div>
        <div v-if="[2].includes(rowIndex)"
             :style="{color:(Number((Number(formData.inZcQtczbkBudget || 0)*100 + Number(formData.inZcDwBudget || 0)*100 + Number(formData.inZcQtBudget || 0)*100))/100)!==Number(formData.inZcBudget   || 0)?'red':''}">
          <t-input-number :decimal-places="2"   :allowInputOverLimit="false"  style="width: 100%" theme="normal" clearable
                          :min="0"
                          v-model="formData.inZcBudget"></t-input-number>
          <!--
            Number((Number(formData.inZcQtczbkBudget || 0)*100 + Number(formData.inZcDwBudget || 0)*100 + Number(formData.inZcQtBudget || 0)*100))/100
            -->

        </div>
        <!--
  <div v-if="[3].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.inZcQtczbkBudget){formData.inZcQtczbkBudget=Number((formData.inZcQtczbkBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}"  :allowInputOverLimit="false"  style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.inZcQtczbkBudget"></t-input-number>
  </div>
  <div v-if="[4].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.inZcDwBudget){formData.inZcDwBudget=Number((formData.inZcDwBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.inZcDwBudget"></t-input-number>
  </div>
  <div v-if="[5].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.inZcQtBudget){formData.inZcQtBudget=Number((formData.inZcQtBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.inZcQtBudget"></t-input-number>
  </div>
      -->
  <div v-if="[6].includes(rowIndex)">
    <div :style="{color: (Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100
)!==(Number(formData.inZcBudget  || 0) )?'red':''}">
      {{
        Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100            }}
    </div>

  </div>
  <div v-if="[7].includes(rowIndex)">
    {{
      Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100          }}
  </div>
  <div v-if="[8].includes(rowIndex)">
    {{
      Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100
    }}
  </div>
  <div v-if="[9].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcSbBudget){formData.outZcSbBudget=Number((formData.outZcSbBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcSbBudget"></t-input-number>
  </div>
  <div v-if="[10].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcSzsbBudget){formData.outZcSzsbBudget=Number((formData.outZcSzsbBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcSzsbBudget"></t-input-number>
  </div>
  <div v-if="[11].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcSbzzBudget){formData.outZcSbzzBudget=Number((formData.outZcSbzzBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcSbzzBudget"></t-input-number>
  </div>
  <div v-if="[12].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcClBudget){formData.outZcClBudget=Number((formData.outZcClBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcClBudget"></t-input-number>
  </div>
  <div v-if="[13].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcSyjgBudget){formData.outZcSyjgBudget=Number((formData.outZcSyjgBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcSyjgBudget"></t-input-number>
  </div>
  <div v-if="[14].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcRldlBudget){formData.outZcRldlBudget=Number((formData.outZcRldlBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcRldlBudget"></t-input-number>
  </div>
  <div v-if="[15].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcClvBudget){formData.outZcClvBudget=Number((formData.outZcClvBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcClvBudget"></t-input-number>
  </div>
  <div v-if="[16].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcHyBudget){formData.outZcHyBudget=Number((formData.outZcHyBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcHyBudget"></t-input-number>
  </div>
  <div v-if="[17].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcGjhzBudget){formData.outZcGjhzBudget=Number((formData.outZcGjhzBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcGjhzBudget"></t-input-number>
  </div>
  <div v-if="[18].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcCbBudget){formData.outZcCbBudget=Number((formData.outZcCbBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcCbBudget"></t-input-number>
  </div>
  <div v-if="[19].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcLwBudget){formData.outZcLwBudget=Number((formData.outZcLwBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcLwBudget"></t-input-number>
  </div>
  <div v-if="[20].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcZjzxBudget){formData.outZcZjzxBudget=Number((formData.outZcZjzxBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcZjzxBudget"></t-input-number>
  </div>
  <div v-if="[21].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcQtBudget){formData.outZcQtBudget=Number((formData.outZcQtBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcQtBudget"></t-input-number>
  </div>
  <div v-if="[22].includes(rowIndex)">
    {{ Number((Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100 }}
  </div>
  <div v-if="[23].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcGlBudget){formData.outZcGlBudget=Number((formData.outZcGlBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcGlBudget"></t-input-number>
  </div>
  <div v-if="[24].includes(rowIndex)">
    <t-input-number :decimal-places="2" @keyup="()=>{if(formData.outZcJxzcBudget){formData.outZcJxzcBudget=Number((formData.outZcJxzcBudget || 0).toString().match(/^\d+(?:\.\d{0,2})?/))}}" :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                    :min="0"
                    v-model="formData.outZcJxzcBudget"></t-input-number>
  </div>
</template>
</t-table>
<t-table v-else :headerAffixedTop="{ offsetTop: 0, zIndex: 1000,container: getContainer2 }"
       rowKey="index" bordered :data="data" :columns="columns">
<template #subject="{ row,rowIndex }">
  <div v-if="[0,6].includes(rowIndex)" style="display: flex;justify-content: flex-start;align-items: center">
    {{ row.subject }}
  </div>
  <div v-else-if="[7,22].includes(rowIndex)"
       style="display: flex;justify-content: flex-start;margin-left: 16px">
    {{ row.subject }}
  </div>
  <div v-else-if="[1,2,8,12,13,14,15,16,17,18,19,20,21,23,24].includes(rowIndex)"
       style="display: flex;justify-content: flex-start;align-items: center;margin-left: 28px">
    {{ row.subject }}
    <t-tooltip v-if="[12,13,14,15,16,17,18,19,20,21,23,24].includes(rowIndex) && site_tag==='jt'"  content="建议填写经费范围为1-2">
      <t-icon name="help-circle-filled"></t-icon>
    </t-tooltip>
  </div>
  <div v-else-if="[9,10,11].includes(rowIndex)"
       style="display: flex;justify-content: flex-start;align-items: center;margin-left: 40px">
    {{ row.subject }} <t-tooltip v-if="site_tag==='jt'"  content="建议填写经费范围为1-2">
    <t-icon name="help-circle-filled"></t-icon>
  </t-tooltip>
  </div>
  <div v-else-if="[3].includes(rowIndex)"
       style="display: flex;justify-content: flex-start;margin-left: 50px">
    {{ row.subject }}
  </div>
  <div v-else-if="[4,5].includes(rowIndex)"
       style="display: flex;justify-content: flex-start;align-items: center;margin-left: 92px">
    {{ row.subject }} <t-tooltip v-if="site_tag==='jt'" content="建议填写经费范围为1-2">
    <t-icon name="help-circle-filled"></t-icon>
  </t-tooltip>
  </div>

</template>
<template #hj="{ rowIndex }">
  <div v-if="[0].includes(rowIndex)">
    {{
      Number(adviceFunding || 0)
    }}
  </div>
  <div v-if="[1].includes(rowIndex)">
    {{ formData.inTbBudget }}
  </div>
  <div v-if="[2].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.inZcQtczbkBudget || 0)*100 + Number(formData.inZcDwBudget || 0)*100 + Number(formData.inZcQtBudget || 0)*100))/100
      }} <div v-if="reviewOpen && (Number((Number(formData.inZcQtczbkBudget || 0)*100 + Number(formData.inZcDwBudget || 0)*100 + Number(formData.inZcQtBudget || 0)*100))/100)!==(Number((Number(baseData.inZcQtczbkBudget || 0)*100 + Number(baseData.inZcDwBudget || 0)*100 + Number(baseData.inZcQtBudget || 0)*100))/100)" class="exception-data">
      <t-icon style="margin: 0px 5px" name="arrow-left"/> {{
        Number((Number(baseData.inZcQtczbkBudget || 0)*100 + Number(baseData.inZcDwBudget || 0)*100 + Number(baseData.inZcQtBudget || 0)*100))/100
      }}
    </div>
    </div>

  </div>
  <div v-if="[3].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.inZcQtczbkBudget }}
      <div v-if="reviewOpen && formData.inZcQtczbkBudget!==baseData.inZcQtczbkBudget" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.inZcQtczbkBudget }}
        }}
      </div>
    </div>
  </div>
  <div v-if="[4].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.inZcDwBudget }}
      <div v-if="reviewOpen && formData.inZcDwBudget!==baseData.inZcDwBudget" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.inZcDwBudget }}
        }}
      </div>
    </div>
  </div>
  <div v-if="[5].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.inZcQtBudget }}
      <div v-if="reviewOpen && formData.inZcQtBudget!==baseData.inZcQtBudget" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.inZcQtBudget }}
        }}
      </div>
    </div>
  </div>
  <div v-if="[6].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
          Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
          Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 +
            Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 +
            Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[7].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100
)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100))/100
)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100))/100
        }}
      </div>
    </div>

  </div>
  <div v-if="[8].includes(rowIndex)">

    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100
)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100
)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[9].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outZcSbBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100
)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[10].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[11].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[12].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbClBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbClBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100))/100)!==(Number((Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[13].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[14].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100))/100)!==(Number((Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[15].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbClvBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbClvBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100))/100)!==(Number((Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[16].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbHyBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbHyBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100))/100)!==(Number((Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[17].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100))/100)!==(Number((Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[18].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbCbBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbCbBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100))/100)!==(Number((Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[19].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbLwBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbLwBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100))/100)!==(Number((Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[20].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100))/100)!==(Number((Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[21].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbQtBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbQtBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100)!==(Number((Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[22].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[23].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100))/100)!==(Number((Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[24].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbJxzcBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outTbJxzcBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbJxzcBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
</template>
<template #tb="{ rowIndex }">
  <div v-if="[0].includes(rowIndex)">
    {{
      Number(formData.inTbBudget || 0)
    }}
  </div>
  <div v-if="[1].includes(rowIndex)">
    {{ formData.inTbBudget || 0 }}
  </div>
  <div v-if="[2,3,4,5].includes(rowIndex)">
    0
  </div>
  <div v-if="[6].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
          Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100
      }}<div v-if="reviewOpen && (              Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 +
          Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100 + Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 +
          Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100))/100)" class="exception-data">
      <t-icon style="margin: 0px 5px" name="arrow-left"/>
      {{
        Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 +
          Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100 + Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100))/100
      }}
    </div>
    </div>
  </div>
  <div v-if="[7].includes(rowIndex)">

    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100))/100
      }}<div v-if="reviewOpen && (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100 + Number(formData.outTbClBudget || 0)*100 + Number(formData.outTbSyjgBudget || 0)*100 + Number(formData.outTbRldlBudget || 0)*100 + Number(formData.outTbClvBudget || 0)*100 + Number(formData.outTbHyBudget || 0)*100 + Number(formData.outTbGjhzBudget || 0)*100 + Number(formData.outTbCbBudget || 0)*100 + Number(formData.outTbLwBudget || 0)*100 + Number(formData.outTbZjzxBudget || 0)*100 + Number(formData.outTbQtBudget || 0)*100))/100
)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100))/100)" class="exception-data">
      <t-icon style="margin: 0px 5px" name="arrow-left"/>
      {{
        Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100 + Number(baseData.outTbClBudget || 0)*100 + Number(baseData.outTbSyjgBudget || 0)*100 + Number(baseData.outTbRldlBudget || 0)*100 + Number(baseData.outTbClvBudget || 0)*100 + Number(baseData.outTbHyBudget || 0)*100 + Number(baseData.outTbGjhzBudget || 0)*100 + Number(baseData.outTbCbBudget || 0)*100 + Number(baseData.outTbLwBudget || 0)*100 + Number(baseData.outTbZjzxBudget || 0)*100 + Number(baseData.outTbQtBudget || 0)*100))/100
      }}
    </div>
    </div>
  </div>
  <div v-if="[8].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbSbBudget || 0)*100 + Number(formData.outTbSzsbBudget || 0)*100 + Number(formData.outTbSbzzBudget || 0)*100))/100)!==(Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outTbSbBudget || 0)*100 + Number(baseData.outTbSzsbBudget || 0)*100 + Number(baseData.outTbSbzzBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[9].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbSbBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbSbBudget || 0)!==(baseData.outTbSbBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbSbBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[10].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbSzsbBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbSzsbBudget || 0)!==(baseData.outTbSzsbBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbSzsbBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[11].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbSbzzBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbSbzzBudget || 0)!==(baseData.outTbSbzzBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbSbzzBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[12].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbClBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbClBudget || 0)!==(baseData.outTbClBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbClBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[13].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbSyjgBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbSyjgBudget || 0)!==(baseData.outTbSyjgBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbSyjgBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[14].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbRldlBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbRldlBudget || 0)!==(baseData.outTbRldlBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbRldlBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[15].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbClvBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbClvBudget || 0)!==(baseData.outTbClvBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbClvBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[16].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbHyBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbHyBudget || 0)!==(baseData.outTbHyBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbHyBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[17].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbGjhzBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbGjhzBudget || 0)!==(baseData.outTbGjhzBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbGjhzBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[18].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbCbBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbCbBudget || 0)!==(baseData.outTbCbBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbCbBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[19].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbLwBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbLwBudget || 0)!==(baseData.outTbLwBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbLwBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[20].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbZjzxBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbZjzxBudget || 0)!==(baseData.outTbZjzxBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbZjzxBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[21].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbQtBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbQtBudget || 0)!==(baseData.outTbQtBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbQtBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[22].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outTbGlBudget || 0)*100 + Number(formData.outTbJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outTbGlBudget || 0)*100 + Number(baseData.outTbJxzcBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[23].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbGlBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbGlBudget || 0)!==(baseData.outTbGlBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbGlBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[24].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outTbJxzcBudget || 0 }}
      <div v-if="reviewOpen && (formData.outTbJxzcBudget || 0)!==(baseData.outTbJxzcBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outTbJxzcBudget || 0 }}
      </div>
    </div>
  </div>
</template>
<template #zc="{ rowIndex }">
  <div v-if="[0].includes(rowIndex)">
    {{
      Number(formData.inZcBudget || 0)
    }}
  </div>
  <div v-if="[1].includes(rowIndex)">
    0
  </div>
  <div v-if="[2].includes(rowIndex)">

    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.inZcQtczbkBudget || 0)*100 + Number(formData.inZcDwBudget || 0)*100 + Number(formData.inZcQtBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && ( Number((Number(formData.inZcQtczbkBudget || 0)*100 + Number(formData.inZcDwBudget || 0)*100 + Number(formData.inZcQtBudget || 0)*100))/100)!==(Number((Number(baseData.inZcQtczbkBudget || 0)*100 + Number(baseData.inZcDwBudget || 0)*100 + Number(baseData.inZcQtBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.inZcQtczbkBudget || 0)*100 + Number(baseData.inZcDwBudget || 0)*100 + Number(baseData.inZcQtBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[3].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.inZcQtczbkBudget || 0 }}
      <div v-if="reviewOpen && (formData.inZcQtczbkBudget || 0)!==(baseData.inZcQtczbkBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.inZcQtczbkBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[4].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.inZcDwBudget || 0 }}
      <div v-if="reviewOpen && (formData.inZcDwBudget || 0)!==(baseData.inZcDwBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.inZcDwBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[5].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.inZcQtBudget || 0 }}
      <div v-if="reviewOpen && (formData.inZcQtBudget || 0)!==(baseData.inZcQtBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.inZcQtBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[6].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100 + Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100 + Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[7].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100 + Number(formData.outZcClBudget || 0)*100 + Number(formData.outZcSyjgBudget || 0)*100 + Number(formData.outZcRldlBudget || 0)*100 + Number(formData.outZcClvBudget || 0)*100 + Number(formData.outZcHyBudget || 0)*100 + Number(formData.outZcGjhzBudget || 0)*100 + Number(formData.outZcCbBudget || 0)*100 + Number(formData.outZcLwBudget || 0)*100 + Number(formData.outZcZjzxBudget || 0)*100 + Number(formData.outZcQtBudget || 0)*100))/100)!==(Number((Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100 + Number(baseData.outZcClBudget || 0)*100 + Number(baseData.outZcSyjgBudget || 0)*100 + Number(baseData.outZcRldlBudget || 0)*100 + Number(baseData.outZcClvBudget || 0)*100 + Number(baseData.outZcHyBudget || 0)*100 + Number(baseData.outZcGjhzBudget || 0)*100 + Number(baseData.outZcCbBudget || 0)*100 + Number(baseData.outZcLwBudget || 0)*100 + Number(baseData.outZcZjzxBudget || 0)*100 + Number(baseData.outZcQtBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[8].includes(rowIndex)">

    <div style="display: flex;justify-content: center;align-items: center">
      {{
        Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100
      }}
      <div v-if="reviewOpen && (Number((Number(formData.outZcSbBudget || 0)*100 + Number(formData.outZcSzsbBudget || 0)*100 + Number(formData.outZcSbzzBudget || 0)*100))/100)!==(Number((Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{
          Number((Number(baseData.outZcSbBudget || 0)*100 + Number(baseData.outZcSzsbBudget || 0)*100 + Number(baseData.outZcSbzzBudget || 0)*100))/100
        }}
      </div>
    </div>
  </div>
  <div v-if="[9].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcSbBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcSbBudget || 0)!==(baseData.outZcSbBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcSbBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[10].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcSzsbBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcSzsbBudget || 0)!==(baseData.outZcSzsbBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcSzsbBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[11].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcSbzzBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcSbzzBudget || 0)!==(baseData.outZcSbzzBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcSbzzBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[12].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcClBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcClBudget || 0)!==(baseData.outZcClBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcClBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[13].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcSyjgBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcSyjgBudget || 0)!==(baseData.outZcSyjgBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcSyjgBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[14].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcRldlBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcRldlBudget || 0)!==(baseData.outZcRldlBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcRldlBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[15].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcClvBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcClvBudget || 0)!==(baseData.outZcClvBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcClvBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[16].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcHyBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcHyBudget || 0)!==(baseData.outZcHyBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcHyBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[17].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcGjhzBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcGjhzBudget || 0)!==(baseData.outZcGjhzBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcGjhzBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[18].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcCbBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcCbBudget || 0)!==(baseData.outZcCbBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcCbBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[19].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcLwBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcLwBudget || 0)!==(baseData.outZcLwBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcLwBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[20].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcZjzxBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcZjzxBudget || 0)!==(baseData.outZcZjzxBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcZjzxBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[21].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcQtBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcQtBudget || 0)!==(baseData.outZcQtBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcQtBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[22].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ Number((Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100 }}
      <div v-if="reviewOpen && (Number((Number(formData.outZcGlBudget || 0)*100 + Number(formData.outZcJxzcBudget || 0)*100))/100)!==(Number((Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ Number((Number(baseData.outZcGlBudget || 0)*100 + Number(baseData.outZcJxzcBudget || 0)*100))/100 }}
      </div>
    </div>
  </div>
  <div v-if="[23].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcGlBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcGlBudget || 0)!==(baseData.outZcGlBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcGlBudget || 0 }}
      </div>
    </div>
  </div>
  <div v-if="[24].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.outZcJxzcBudget || 0 }}
      <div v-if="reviewOpen && (formData.outZcJxzcBudget || 0)!==(baseData.outZcJxzcBudget || 0)" class="exception-data">
        <t-icon style="margin: 0px 5px" name="arrow-left"/>
        {{ baseData.outZcJxzcBudget || 0 }}
      </div>
    </div>
  </div>
</template>
</t-table>
<t-table
v-if="editOpen"
row-key="index"
:data="data2"
:columns="columns2"
>
<template #1year="{ rowIndex }">
  <t-input-number v-if="[0].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                  :min="0"
                  v-model="formData.tbsqyiBudget"></t-input-number>
  <t-input-number v-if="[1].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                  :min="0"
                  v-model="formData.tbsqyibl"></t-input-number>
</template>
<template #2year="{ rowIndex }">
  <t-input-number v-if="[0].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                  :min="0"
                  v-model="formData.tbsqerBudget"></t-input-number>
  <t-input-number v-if="[1].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable
                  :min="0"
                  v-model="formData.tbsqerbl"></t-input-number>
</template>
</t-table>
<t-table
v-else
row-key="index"
:data="data2"
:columns="columns2"
>
<template #1year="{ rowIndex }">
  <div v-if="[0].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.tbsqyiBudget || 0 }}
    </div>
  </div>
  <div v-if="[1].includes(rowIndex)">
    <div style="display: flex;justify-content: center;align-items: center">
      {{ formData.tbsqyiBudget || 0 }}
    </div>
  </div>
  <!--        <t-input-number v-if="[0].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable-->
        <!--                        :min="0"-->
        <!--                        v-model="formData.tbsqyiBudget"></t-input-number>-->
        <!--        <t-input-number v-if="[1].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable-->
        <!--                        :min="0"-->
        <!--                        v-model="formData.tbsqyibl"></t-input-number>-->
      </template>
      <template #2year="{ rowIndex }">
        <div v-if="[0].includes(rowIndex)">
          <div style="display: flex;justify-content: center;align-items: center">
            {{ formData.tbsqerBudget || 0 }}
          </div>
        </div>
        <div v-if="[1].includes(rowIndex)">
          <div style="display: flex;justify-content: center;align-items: center">
            {{ formData.tbsqerbl || 0 }}
          </div>
        </div>
        <!--        <t-input-number v-if="[0].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable-->
        <!--                        :min="0"-->
        <!--                        v-model="formData.tbsqerBudget"></t-input-number>-->
        <!--        <t-input-number v-if="[1].includes(rowIndex)" :decimal-places="2"  :allowInputOverLimit="false" style="width: 100%" theme="normal" clearable-->
        <!--                        :min="0"-->
        <!--                        v-model="formData.tbsqerbl"></t-input-number>-->
      </template>
    </t-table>
  </div>


</template>

<script>
export default {
  name: "project-budget",
  props: {
    value: Object,
    platformId: [String, Number],
    editOpen: {
      type: Boolean,
      default: false
    },
    reviewOpen: {
      type: Boolean,
      default: false
    },
    phaseType: {
      type: String,
      default: '1'
    },
    fundingObj: {
      type: Object,
      default: () => ({subsidyFunding: 0, adviceFunding: 0})
    },
    container:{
      type: String,
      default: '.jxkj-layout'
    }
  },
  data() {
    return {
      zcFunding: null,
      site_tag: import.meta.env.VITE_SITE_TAG,
      adviceFunding: 0,
      baseData: {
        inTbBudget: 0,
        inZcBudget: 0,
        inZcQtczbkBudget: 0,
        inZcDwBudget: 0,
        inZcQtBudget: 0,
        outTbSbBudget: 0,
        outZcSbBudget: 0,
        outTbSzsbBudget: 0,
        outZcSzsbBudget: 0,
        outTbSbzzBudget: 0,
        outZcSbzzBudget: 0,
        outTbClBudget: 0,
        outZcClBudget: 0,
        outTbSyjgBudget: 0,
        outZcSyjgBudget: 0,
        outTbRldlBudget: 0,
        outZcRldlBudget: 0,
        outTbClvBudget: 0,
        outZcClvBudget: 0,
        outTbHyBudget: 0,
        outTbGjhzBudget: 0,
        outZcGjhzBudget: 0,
        outTbCbBudget: 0,
        outZcCbBudget: 0,
        outTbLwBudget: 0,
        outZcLwBudget: 0,
        outTbZjzxBudget: 0,
        outZcZjzxBudget: 0,
        outTbQtBudget: 0,
        outZcQtBudget: 0,
        outTbGlBudget: 0,
        outZcGlBudget: 0,
        outTbJxzcBudget: 0,
        outZcJxzcBudget: 0,
        outZcHyBudget: 0
      },
      formData: {
        phaseType: this.phaseType,
        // budgetType: "1",
        inTbBudget: 0,
        inZcBudget: 0,
        inZcQtczbkBudget: 0,
        inZcDwBudget: 0,
        inZcQtBudget: 0,
        outTbSbBudget: 0,
        outZcSbBudget: 0,
        outTbSzsbBudget: 0,
        outZcSzsbBudget: 0,
        outTbSbzzBudget: 0,
        outZcSbzzBudget: 0,
        outTbClBudget: 0,
        outZcClBudget: 0,
        outTbSyjgBudget: 0,
        outZcSyjgBudget: 0,
        outTbRldlBudget: 0,
        outZcRldlBudget: 0,
        outTbClvBudget: 0,
        outZcClvBudget: 0,
        outTbHyBudget: 0,
        outTbGjhzBudget: 0,
        outZcGjhzBudget: 0,
        outTbCbBudget: 0,
        outZcCbBudget: 0,
        outTbLwBudget: 0,
        outZcLwBudget: 0,
        outTbZjzxBudget: 0,
        outZcZjzxBudget: 0,
        outTbQtBudget: 0,
        outZcQtBudget: 0,
        outTbGlBudget: 0,
        outZcGlBudget: 0,
        outTbJxzcBudget: 0,
        outZcJxzcBudget: 0,
        outZcHyBudget: 0
      },
      data2: [
        {
          index: 1,
          apply: "金额",
        },
        {
          index: 2,
          apply: "比例（%）",
        },
      ],
      data: [
        {
          index: 1,
          subject: "一、经费来源",
        },
        {
          index: 2,
          // subject: import.meta.env.VITE_SITE_TAG === 'jtt' ? "1、厅拨经费" : `1、集团补助经费`,
          subject: "1、省科技专项经费",
        },
        {
          index: 3,
          subject: "2、自筹经费",
        },
        {
          index: 4,
          subject: "其中：其他财政拨款",
        },
        {
          index: 5,
          subject: "单位自筹",
        },
        {
          index: 6,
          subject: "其他（注明来源）",
        },
        {
          index: 7,
          subject: "二、经费支出",
        },
        {
          index: 8,
          subject: "（一）直接费用",
        },
        {
          index: 9,
          subject: "1、设备费",
        },
        {
          index: 10,
          subject: "（1）购置设备费",
        },
        {
          index: 11,
          subject: "（2）试制设备费",
        },
        {
          index: 12,
          subject: "（3）设备改造与租赁费",
        },
        {
          index: 13,
          subject: "2、材料费",
        },
        {
          index: 14,
          subject: "3、测试化验实验加工费",
        },
        {
          index: 15,
          subject: "4、燃料动力费",
        },
        {
          index: 16,
          subject: "5、差旅费",
        },
        {
          index: 17,
          subject: "6、会议费",
        },
        {
          index: 18,
          subject: "7、国际合作与交流费",
        },
        {
          index: 19,
          subject: "8、出版/文献/信息传播知识产权事务/印刷费",
        },
        {
          index: 20,
          subject: "9、劳务费",
        },
        {
          index: 21,
          subject: "10、专家咨询费",
        },
        {
          index: 22,
          subject: "11、其他支出",
        },
        {
          index: 23,
          subject: "（二）间接费用",
        },
        {
          index: 24,
          subject: "1、管理费",
        },
        {
          index: 25,
          subject: "2、绩效支出",
        },
      ],
      columns2: [
        {
          colKey: "apply",
          title: "厅科技补助经费进度申请",
          align: "center"
        },
        {
          colKey: "1year",
          title: "第一年",
          align: "center"
        },
        {
          colKey: "2year",
          title: "第二年",
          align: "center"
        },
      ],
      columns: [
        {
          colKey: "subject",
          title: "科目",
          align: "center"
        },
        {
          colKey: "hj",
          title: `合计`,
          align: "center"
        },
        {
          colKey: "tb",
          title: import.meta.env.VITE_SITE_TAG === 'jtt' ? "厅拨经费" : "集团补助经费",
          // subject: "省科技专项经费",
          align: "center"
        },
        {
          colKey: "zc",
          title: "自筹经费",
          align: "center"
        },
      ]
    }
  },
  computed: {
    offsetTop() {
      return this.$store.state.setting.isUseTabsRouter ? 30 : 0;
    },
  },
  watch: {
    platformId: {
      immediate: true,
      handler(val) {
        if (val) {
          this.getBudget(val);
        }
      }
    },
    formData: {
      deep: true,
      immediate: true,
      handler(val) {
        // this.formData.inZcBudget = Number((Number(this.formData.inZcQtczbkBudget || 0)*100 + Number(this.formData.inZcDwBudget || 0)*100 + Number(this.formData.inZcQtBudget || 0)*100))/100
        this.$emit("input", val);
      }
    },
    fundingObj: {
      deep: true,
      immediate: true,
      handler(val) {
        this.adviceFunding = val.adviceFunding
        // this.formData.inTbBudget = val.subsidyFunding;
        // this.formData.inZcBudget = (Math.floor(val.adviceFunding*100)-Math.floor(val.subsidyFunding*100))/100
      }
    },
  },
  methods: {
    getContainer() {
      return document.querySelector('.jxkj-layout');
    },
    getContainer2() {
      const list = document.getElementsByClassName('t-tab-panel');
      return list[list.length-1];
    },
    getBudget() {
      if (this.platformId) {
        console.log("有id")
        this.$api.tjpt.project.getBudgetByPlatformId(this.platformId).then(response => {
          console.log("组件内",response.data)
          if(response.data){
            this.formData = response.data;
          }

        }).catch((e) => {
          this.$message.error(e.toString());
        });
      }
      //   if (this.projectId) {
      //     // 如果 reviewOpen 打开则查询当前阶段的前一个阶段值做对比
      //     if(Number(this.phaseType)!==1 && this.reviewOpen){
      //       this.$api.kjxm.project.budgetGet(Number(this.projectId), Number(this.phaseType) - 1 > 0 ? Number(this.phaseType) - 1 : 1).then(response => {
      //         response.data = response.data || {}
      //         if (Object.prototype.hasOwnProperty.call(response.data, "inTbBudget")) {
      //           delete response.data.inTbBudget;
      //         }z
      //         if (Object.prototype.hasOwnProperty.call(response.data, "inZcBudget")) {
      //           delete response.data.inZcBudget;
      //         }
      //         Object.assign(this.baseData, response.data);
      //
      //       }).catch((e) => {
      //         this.$message.error(e.toString());
      //       });
      //     }
      //
      //     this.$api.kjxm.project.budgetGet(Number(this.projectId), this.phaseType).then(response => {
      //       response.data = response.data || {}
      //       if (!response.data.id && this.phaseType !== '1') { // 获取不到读申报项目的经费
      //         this.$api.z.project.budgetGet(Number(this.projectId), Number(this.phaseType) - 1 > 0 ? Number(this.phaseType) - 1 : 1).then(response2 => {
      //           response2.data = response2.data || {}
      //           if (Object.prototype.hasOwnProperty.call(response2.data, "inTbBudget")) {
      //             delete response2.data.inTbBudget;
      //           }
      //           if (Object.prototype.hasOwnProperty.call(response2.data, "inZcBudget")) {
      //             delete response2.data.inZcBudget;
      //           }
      //           Object.assign(this.formData, response2.data);
      //           this.formData.phaseType = this.phaseType;
      //           this.$emit("input", this.formData);
      //         }).catch((e) => {
      //           this.$message.error(e.toString());
      //         });
      //       } else {
      //         if (Object.prototype.hasOwnProperty.call(response.data, "inTbBudget")) {
      //           delete response.data.inTbBudget;
      //         }
      //         if (Object.prototype.hasOwnProperty.call(response.data, "inZcBudget")) {
      //           delete response.data.inZcBudget;
      //         }
      //         Object.assign(this.formData, response.data || {});
      //         this.formData.phaseType = this.phaseType;
      //         this.$emit("input", this.formData);
      //       }
      //     }).catch((e) => {
      //       this.$message.error(e.toString());
      //     });
      //   }
    },
  },

}
</script>

<style scoped>
::v-deep .t-table__affixed-header-elm{
  overflow: hidden;
}
.exception-data{
  color: red;
  height: 100%;
  display: flex;
  align-items: center
}
</style>
